<template>
  <div class="home">
    home
    <el-button type="primary" size="default" @click="test">测试的</el-button>
    
  </div>
</template>

<script>
import { defineComponent } from 'vue';
import { apiTest } from "@/api/admin";
export default defineComponent({
  name: 'HomeView',
  data() {
    return {
      proName:process.env.VUE_APP_PRO_NAME
    }
  },
  methods: {
    test(){
      apiTest().then(res=>{
        console.log(`output->res`,res)
      })
    }
  },
});
</script>
